CSCIĀ 0027. Visual Basic .NET Programming I

Units: 3
Prerequisite: Completion of CSCI 10 with grade of "C" or better
Hours: 72 (54 lecture, 18 laboratory)
Introduction to methods and techniques of Visual Basic .NET programming. Includes coverage of user interface design, variables, decisions, menus, functions, object-oriented programming, looping, arrays, and printing. Designed to bring students up to the necessary skill and knowledge level for an intermediate-level programming course. (CSU)

CSCI 0027 - Visual Basic .NET Programming I

http://catalog.sierracollege.edu/course-outlines/csci-0027/

Catalog Description DESCRIPTION IS HERE: Prerequisite: Completion of CSCI 10 with grade of "C" or better Hours: 72 (54 lecture, 18 laboratory) Description: Introduction to methods and techniques of Visual Basic .NET programming. Includes coverage of user interface design, variables, decisions, menus, functions, object-oriented programming, looping, arrays, and printing. Designed to bring students up to the necessary skill and knowledge level for an intermediate-level programming course. (CSU) Units 3 Lecture-Discussion 54 Laboratory 18 By Arrangement Contact Hours 72 Outside of Class Hours Course Student Learning Outcomes Demonstrate techniques for good program design, including making the interface easy for users as well as following guidelines for designing maintainable programs. Differentiate between various data types, apply proper naming conventions, and declare variables/constants. Perform calculations, convert/format various data types, and use Try/Catch blocks for error handling. Use IF statements to control program flow, evaluate conditions using comparison operators, and combine conditions using logical operators. Perform validation on numeric fields, use a CASE structure for multiple decisions, and debug projects using breakpoints. Create menus for program control, display and use common dialog boxes, and write reusable code in sub procedures and functions. Include multiple forms in an application, understand the various form events and how to handle them, and declare variables with the correct scope and access level for multiform projects. Differentiate between various types of lists, describe standard list operations, and use loops to process list elements. Course Content Outline I. Introduction to Visual Basic .NET A. Writing Windows Applications with Visual Basic B. Programming Languages - Procedural, Event Driven, and Object Oriented C. Writing Visual Basic Projects D. The Visual Studio Environment E. Writing Your First Visual Basic Project F. Finding and Fixing Errors G. Visual Studio Help II. User Interface Design A. Introducing More Controls B. Working with Multiple Controls C. Designing Your Applications for User Convenience D. Coding for the Controls E. Good Programming Habits III. Variables, Constants, and Calculations A. Data - Variables and Constants B. Calculations C. Formatting Data for Display D. Calculation Programming Example E. Handling Exceptions F. Displaying Messages in Message Boxes G. Counting and Accumulating Sums IV. Decisions and Conditions A. If Statements B. Conditions C. Nested If Statements D. Using If Statements with Radio Buttons and Check Boxes E. Enhancing Message Boxes F. Input Validation G. The Case Structure H. Sharing an Event Procedure I. Calling Event Procedures J. Debugging Visual Basic Projects V. Menus, Common Dialog Boxes, Sub Procedures, and Functions A. Menus B. Common Dialog Boxes C. Creating Context Menus D. Writing General Procedures E. Menu Programming Example VI. OOP: Creating Object-Oriented Programs A. Object-Oriented Programming B. Classes C. Creating a New Object Using a Class D. Inheritance E. Managing Multiclass Projects F. Using the Object Browser VII. Lists, Loops, and Printing A. List Boxes and Combo Boxes B. Do Loops C. For/Next Loops D. Making Entries Appear Selected E. Sending Information to the Printer VIII. Arrays A. Single-Dimension Arrays B. For Each/Next Statements C. Structures D. Using Array Elements for Accumulators E. Table Lookup F. Using List Boxes with Arrays G. Multidimensional Arrays Course Objectives Course Objectives Lecture Objectives: 1. Describe the process of visual program design and development. 2. Explain object-oriented programming. 3. Compare and contrast the concepts of classes, objects, properties, methods, and events. 4. List the three steps for writing a Visual Basic project. 5. Identify the elements in the Visual Studio environment. 6. Define design time, run time, and break time. 7. Explain how to concatenate strings of text. 8. Describe how to make a control visible or invisible at run time. 9. Distinguish between variables, constants, and controls. 10. Differentiate among the various data types. 11. Formulate calculations using variables and constants. 12. Compare and contrast numeric data type conversion using implicit and explicit conversions. 13. Summarize how to use Try/Catch blocks for error handling. 14. Explain how to accumulate sums and generate counts. 15. Describe how to use If statements to control the flow of logic. 16. Create flowcharts indicating the logic in a selection process. 17. Evaluate conditions using the relational operators. 18. Compare and contrast the AND and OR operators. 19. Explain how to use one event procedure to respond to the events for multiple controls. 20. Compare and contrast sub procedures and functions. 21. List the Windows common dialog boxes that relate to files, fonts, colors, and printing. 22. Define the following object-oriented terminology: encapsulation, inheritance, and polymorphism. 23. Differentiate between a class and an object. 24. Illustrate how to declare object variables and assign values to the properties with a constructor. 25. Compare and contrast shared members and instance members. 26. Explain the purpose of the constructor and destructor methods. 27. Differentiate among the available types of combo boxes. 28. Describe how to add and remove items in a list at run time. 29. Determine which item in a list is selected. 30. Explain how to use the Items. Count property to determine the number of items in a list. 31. Compare and contrast Do Loops and For/Next Loops. 32. Distinguish between direct access and indirect access of a table. 33. Analyze the advantages of using ListBox controls with arrays. Laboratory Objectives: 1. Design a user interface that has text boxes, group boxes, check boxes, radio buttons, and picture boxes. 2. Manipulate multiple controls simultaneously so that they are aligned vertically and horizontally. 3. Construct a project that has access keys, accept and cancel buttons, proper tab sequence, and Tool Tips. 4. Diagnose program errors using breakpoints, stepping program execution, and displaying intermediate results. 5. Create menus and submenus for program control. 6. Design a program that uses the Windows common dialog boxes. 7. Write reusable code in sub procedures and functions, then call them from other locations. 8. Create a two-tier application that separates the user interface from the business logic. 9. Create a program with list boxes and combo boxes. 10. Establish an array and refer to individual elements in the array with subscripts. 11. Create a structure for multiple fields of related data. 12. Write a table lookup for matching an array element. Methods of Evaluation Essay Examinations Objective Examinations Problem Solving Examinations Projects Reports Reading Assignments 1. Read the assigned pages from the textbook on classes and objects and be prepared to discuss in class the use of classes and objects in the context of visual inheritance. 2. Read the assigned pages from the textbook on arrays and be prepared to discuss in class the use of two-dimensional arrays to create dynamic lookup tables. Writing, Problem Solving or Performance 1. Complete all of the Case Studies at the end of the chapter and create test cases for 'If' statements to make sure that all program branches are working correctly. 2. Complete all of the Case Studies at the end of the chapter and test their outputs with different seed values for the random number generator. Other (Term projects, research papers, portfolios, etc.) Methods of Instruction Laboratory Lecture/Discussion Distance Learning Other materials and-or supplies required of students that contribute to the cost of the course.